package com.situ.studentmanagement.model;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Created by niugao on 7/5/2016.
 * 对应数据表check_log的model
 */
public class CheckLog {
    int id;
    int studentID;
    java.util.Date checkTime;
    String studentName;
    java.sql.Timestamp checkInTime;
    java.sql.Timestamp checkOutTime;


    public CheckLog(Integer id, Integer studentID,
                    java.sql.Timestamp checkInTime,
                    java.sql.Timestamp checkOutTime) {
        this.id = id;
        this.studentID = studentID;
        this.checkInTime = checkInTime;
        this.checkOutTime = checkOutTime;
    }

    public void setCheckOutTime(Timestamp checkOutTime) {
        this.checkOutTime = checkOutTime;
    }

    public void setCheckInTime(Timestamp checkInTime) {
        this.checkInTime = checkInTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getStudentID() {
        return studentID;
    }

    public void setStudentID(int studentID) {
        this.studentID = studentID;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }


    public Date getCheckInTime() {
        return checkInTime;
    }

    public Date getCheckOutTime() {
        return checkOutTime;
    }
}
